/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.Gig;
import com.ez2find.model.CategoriaTemporal;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Administrador
 */
@Local
public interface GigManagerLocal {

    void create(Gig gig) throws Exception;

    void delete(Gig gig) throws Exception;

    Gig find(long id);

    long lastCode();

    List<Gig> listAll();

    List<Gig> listGigsArea(Area area, boolean gigC, CategoriaTemporal gigCategorie, String consult);

    List<Gig> listGigsSite(Site site, boolean gigC, CategoriaTemporal gigCategorie, String consult);

    void update(Gig gig) throws Exception;

    Gig merge(Gig gig) throws Exception;
    
}
